public class DeviceTest {
    public static void main(String[] args) {
        IDevice myPhone = new Phone("xiaomi",true);
        IDevice myLaptop = new Laptop("huaweibijiben",false);

        myPhone.powerOn();


    }
}
